package com.example.echarts.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author xiaowei
 * @since 2022-05-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("asiangame_count_info")
public class AsiangameCountInfo extends Model<AsiangameCountInfo> {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Integer id;

    @TableField("year")
    private String year;

    @TableField("count_country")
    private String countCountry;

    @TableField("count_player")
    private String countPlayer;

    @TableField("count_Maxproject")
    private String countMaxproject;

    @TableField("count_Minproject")
    private String countMinproject;
    @TableField("region_name")
    private String regionName;
    @TableField("country_name")
    private String countryName;
    @TableField("gold_medal")
    private String goldMedal;

    @TableField("silver_medal")
    private String silverMedal;

    @TableField("bronze_medal")
    private String bronzeMedal;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
